#ifndef 	_POWER_GOLABL_
	#define		POWER_EXTERN		extern
#else
	#define		POWER_EXTERN
#endif

#include "def.h"
	
	
typedef struct
{
	BYTE XX;
	BOOL bCarPowerStatus;
	BOOL bCarSysSleep;
	BOOL bAccStatus;
	BOOL bCanBusSleep;
	BYTE powerStatus;
	UINT32 SeelpDelayTimer;
	UINT16 cnt;
}S_POWER_INFO;




POWER_EXTERN S_POWER_INFO powerMangeInfo;
POWER_EXTERN void powerManageInit(void);
POWER_EXTERN void powerManageProc(void);
POWER_EXTERN void ipcEventProcPowerManage(ULONG enumWhatEvent,ULONG lPara,BYTE *p,uint8_t length);
